package cn.iocoder.yudao.module.digital.service.cardchannel;

import cn.iocoder.yudao.module.digital.api.cardkeymanager.dto.CardKeySecretDTO;
import cn.iocoder.yudao.module.digital.enums.cardkeysecret.CardKeySourceEnum;

import java.util.List;

public interface ICardSecretManager {

    void pollTimeoutUnSuccessfulOrders();

    List<CardKeySecretDTO> claimCardKeySecretByCustomerService(String orderNo, String secret);

    List<CardKeySecretDTO> parseCardSecretData(String textData);

    void preprocessCardKeyShipping(String orderNo, Long skuId, int buyCount, Integer orderDenomination);

    void pollUnProcessingInQueue();

    void pollUnProcessingOutQueue();

    void synAllProducts(CardKeySourceEnum source);
}
